package com.blog.dao;

 

import java.util.List;
import com.blog.model.Book;

public interface BookMapper {
    int deleteByPrimaryKey(Integer book_id);

    int insert(Book record);

    int insertSelective(Book record);

    Book selectByPrimaryKey(Integer book_id);
    
    List<Book> selectByCategory(String category);

    List<Book> selectByTitleAndCategory(String title,String category);
    
    int updateByPrimaryKeySelective(Book record);

    int updateByPrimaryKey(Book record);

}